<footer>

<div id="footer">
<?php if ( ! dynamic_sidebar( 'footer' ) ) : ?>
<?php endif; ?>

<div id="copyright">
<p>&copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?>. Powered by <a href="http://www.xfoxmedia.com" title="xFoxMedia.com">xFoxMedia.com</a></p>
<?php up_footer(); ?> 
</div>

</div>
</footer>
</div> <!--! end of #container -->

  <!--[if lt IE 7 ]>
    <script src="<?php bloginfo('template_url'); ?>/js/libs/dd_belatedpng.js"></script>
    <script>DD_belatedPNG.fix("img, .png_bg"); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb </script>
  <![endif]-->
<?php wp_footer(); ?>

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.phptechnologies.net/" : "http://piwik.phptechnologies.net/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 2);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://piwik.phptechnologies.net/piwik.php?idsite=2" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
</body>
</html>